<table width="100%" cellspacing="0" cellspacing="0" cellpadding="0" border="0">
    <tr> 
        <td class="tl_main"></td>
        <td class="tc_main"></td>
        <td class="tr_main"></td>    
    </tr>
    <tr>
        <td class="cl_main"></td>
        <td>
            <?php
            $menu = Session::get('mpanel.menu');
            $link = Session::get('mpanel.id');
            $icon = Session::get('mpanel.icon');
            for ($i = 0; $i < count($menu); $i++) {
                ?>
                <table width="100%" cellspacing="0" cellpadding="0" border="0" class="luachon_cl">
                    <tr>  
                        <td>
                            <a href='<?= URL . Session::get('quyen') . "/" . $link[$i]; ?>'>
                                <img src='<?php if ($icon[$i] != null) echo URL . $icon[$i];
                                    else echo URL . "public/images/logo.gif" ?>' title='Icon' width="70px"><br/>
                                <?= $menu[$i]; ?>
                            </a>
                        </td>
                    </tr>
                </table>
                <?php
            }
            ?>
        </td>
        <td class="cr_main"></td>
    </tr>
    <tr>
        <td class="bl_main"></td>
        <td class="bc_main"></td>
        <td class="br_main"></td>  
    </tr>
</table>